﻿using System;

class FloatingPointComparison
{
    static void Main()
    {
        decimal first;
        decimal second;
        const decimal precision = 0.000001m;

        Console.WriteLine("Comparison of two floating-point numbers with precision of 0.000001");
        Console.Write("Enter the first number: ");
        decimal.TryParse(Console.ReadLine(), out first);
        Console.Write("Enter the second number: ");
        decimal.TryParse(Console.ReadLine(), out second);
        if ((Math.Abs(first - second)) > precision)
        {
            Console.WriteLine("The result from the comparison is FALSE.");
        }
        else
        {
            Console.WriteLine("The result from the comparison is TRUE.");
        }
    }
}
